Skip to content

fix: XAccountController should use streaming in archiveBuild#384

Merged
micahflee merged 2 commits intomainfrom
383-large-archive
Jan 28, 2025
Merged

fix: XAccountController should use streaming in archiveBuild#384
micahflee merged 2 commits intomainfrom
383-large-archive

Conversation

@redshiftzero
Copy link
Contributor

@redshiftzero redshiftzero commented Jan 27, 2025

Closes #383
I've tested the archiveBuild method using a small test archive

@redshiftzero redshiftzero changed the title wip: XAccountController use streaming in archiveBuild fix: XAccountController should use streaming in archiveBuild Jan 27, 2025
Copy link
Member

@micahflee micahflee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it should fix this specific problem to me. However, looking over this function (I'm the one who first wrote it) I can see how massive amounts of data combined with not much memory could cause it to crash in other ways too. I opened a future issue to deal with that: #385

@micahflee micahflee merged commit 158f2db into main Jan 28, 2025
1 check passed
@micahflee micahflee deleted the 383-large-archive branch January 28, 2025 00:21
@micahflee micahflee mentioned this pull request Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error importing large X archive

2 participants